<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <base href="${request.contextPath}/"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <#import "/spring.ftl" as spring>
    <title> <@spring.message code="index.top"/></title>
    <script src="${request.contextPath}/js/jquery-1.11.1.min.js"></script>
    <script src="${request.contextPath}/js/common_click.js"></script>
    <script src="${request.contextPath}/js/echarts.min.js"></script>
    <link rel="stylesheet" href="${request.contextPath}/css/zjwd_xq.css">
    <link rel="stylesheet" href="${request.contextPath}/css/common.css">
    <style>
        /*--------------小于1920------------------*/
        @media screen and (max-width: 1919px) {

            .nztj_all{
                padding: 0 7%;
                border-bottom: 1px solid #11518e;
            }
            .nztj_all p {
                margin-bottom: 0;
            }
            .xd_xq_hd_wz {

                height: 200px;
                line-height: 20px;
            }
            .wd_xq_right {
                height: 100%;
            }
            .wd_xq_left {
                height:100%;
            }
        }
    </style>

</head>
<body>
<div class="top_all">
    <p class="top_title"><@spring.message code="index.top"/></p>
    <div class="top_user">
        <div class="user_user">
            <#if isAdmn == "TRUE">
            <div class="top_user_img">
                <img src="${request.contextPath}/images/timg.png" alt="">

            </div>

            <a href="javascript:;" onclick="shouye()">
                <p class="top_user_name"><@spring.message code="index.page"/></p>
            </a>
            </#if>
        </div>

    </div>


    <div class="top_out">
        <div class="out_out">
            <div class="top_out_img">
                <img src="${request.contextPath}/images/icon.png" alt="">

            </div>
            <a href="${request.contextPath}/sy/logout">
                <p class="top_out_name"><@spring.message code="index.out"/></p>
            </a>
        </div>

    </div>



</div>


<div class="content_all">
    <div class="content_center">
        <div class="wd_xq_left">
            <div class="wd_xq_top">
                <p class="wd_xq_top_title"><img src="${request.contextPath}/images/f058.png" alt=""><span>${zjwd.wttitle} </span></p>
                <p class="wd_xq_top_title_user"><img src="${request.contextPath}/images/26.png" alt=""><span>小猪会飞</span><span>${zjwd.createtime?string("yyyy-MM-dd")}</span></p>
            </div>
            <div class="xd_xq_spreak">
                <p>${zjwd.wtneirong}</p>
                <div class="xd_xq_img">

                    <#list fileBeans as wttps>
                        <div><img src="${wttps.urlsPath}" alt=""></div>

                    </#list>
                </div>
            </div>
            <div class="xd_xq_hd">
                <div class="xd_xq_hd_box">
                    <div class="xd_xq_hd_img"><img src="${request.contextPath}/images/f058.png" alt=""></div>
                    <p class="xd_xq_hd_wz"> ${zjwd.zjanswer} </p>

                </div>
                <div class="xd_xq_hd_user">
                    <img src="${zjwd.zjtp}" alt="" style="width: 31px;height: 31px;">
                    <span>${zjwd.zjname}</span>
                    <span>${zjwd.createtime?string("yyyy-MM-dd")}</span>
                </div>
            </div>


        </div>
        <div class="wd_xq_right">
            <div class="nztj_top"><@spring.message code="zjwd_xq.nztj"/></div>
            <#list nztj as nzs>
                <div class="nztj_all">
                    <p class="nztj_h1">${nzs.dianming}</p>
                    <p class="nztj_h2">${nzs.nongziname}</p>
                    <p class="nztj_h3" style="display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;overflow: hidden;">${nzs.jianjie}</p>
                    <div class="nztj_h4">
                        <div class="nztj_h4_left"><img src="${request.contextPath}/images/location.png" alt=""><span>${nzs.dizhi}</span></div>
                        <div class="nztj_h4_right"><img src="${request.contextPath}/images/iPhone.png" alt=""><span>${nzs.dianhua}</span></div>
                    </div>

                </div>

            </#list>
            <!--<div class="nztj_all">-->
                    <!--<p class="nztj_h1">拜耳农贸连锁</p>-->
                    <!--<p class="nztj_h2">三环锉&#45;&#45;&#45;&#45;&#45;&#45;防止稻瘟病专用杀虫剂</p>-->
                    <!--<p class="nztj_h3">肥料和农药混合施用,治虫效果更好。如用1%的尿素液,尿素液,加0.1%浓度...</p>-->
                    <!--<div class="nztj_h4">-->
                        <!--<div class="nztj_h4_left"><img src="images/location.png" alt=""><span>景观路16号</span></div>-->
                        <!--<div class="nztj_h4_right"><img src="images/iPhone.png" alt=""><span>139-4568-2568</span></div>-->
                    <!--</div>-->

            <!--</div>-->


        </div>
    </div>


</div>

<div class="footer_all"></div>

 <script src="${request.contextPath}/js/zjwd_xq.js"></script>
<script>
    $(function () {



        $(".button_click").eq(2).css({backgroundColor: "#43D3FF"})
        $(".button_click").eq(2).children("a").css({color: "#1921BB"})


    })
</script>
<script>

    var zlzs='<@spring.message code="menu.zlzs"/>';
    var zjwd='<@spring.message code="menu.zjwd"/>';
    var nybk='<@spring.message code="menu.nybk"/>';
    var nydsj='<@spring.message code="menu.nydsj"/>';


</script>
<script>
    function shouye(){
        var req = new XMLHttpRequest();
        req.open('GET', document.location, false);
        req.send(null);
        var headers = req.getAllResponseHeaders();
        var local=req.getResponseHeader('content-language');
        if(local=="en-US"){
            local="en_US";
        }else{
            local="zh_CN";
        }
        //alert(local+"-----"+"en_US");
        window.location.href="${request.contextPath}/sy/index/index?locale="+local;
    }
</script>
</body>
</html>




